/*******************************************
 *                                         *
 *******************************************/

#include "Game\Tetris.h"

int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
					LPSTR lpCmdLine, int nShowCmd)
{
	Tetris MainGame;

	if (MainGame.Init(hInstance, L"GDC Tetris", 800, 600, FALSE))
		while (MainGame.Update());
	else
		MessageBox(NULL, L"Could Not Start Tetris.", L"Error", MB_OK | MB_ICONERROR);

	return 0;
}